// 模拟数据的服务功能（定义服务）
import Mock from "mockjs";
import banner from "./banner.json";
import floor from "./floor.json";

// 利用mockjs进行拦截 Ajax 请求
Mock.mock("/mock/banner", { code: 200, data: banner });
Mock.mock("/mock/floor", { code: 200, data: floor });
